import request from '@/utils/request'

export function createOrder(data) {
  return request({
    url: '/order/create',
    method: 'post',
    data
  })
}

//修改订单地址
export function editOrderAddress(data) {
  return request({
    url: '/order/editAddress',
    method: 'post',
    data
  })
}